SELECT DISTINCT ?property
WHERE { ?s ?property ?o . }
#QuerySELECT DISTINCT ?class
WHERE { ?s a ?class . }
#QuerySELECT * {?s ?p ?o} but some my give only the triples in the default graph so it’s better to ask explicitly for all the triples in all named graphs.SELECT ?g ?s ?p ?o
WHERE
{
{ ?s ?p ?o }
UNION
{ GRAPH ?g { ?s ?p ?o } }
}
```#Query #GRAPH #UNION